
export default class ExamineToFriend {
    constructor(socket) {
        this.socket = socket;
    }
    sendMessage() {

    }
    /*收到服务器回执信息的处理*/
    receiptMsg(data) {
        return data.body;
    }
    /*接受服务器消息的处理*/
    getMsg(data) {
        //列表刷新
        this.socket.talkObject.changeTalkType(data.body.talk_id, 2);
        this.socket.friendObject.addFriend(data.body.talk_id);
        //1.判断双方是否存在会话列表
        console.log(data);
    }
}